<template>
  <div id="app">
    <Header/>
    <!-- <Main/> 1 -->
    <!-- <Detail/> 1 -->
    <!-- <Category/> 1 -->
    <!-- <Publisher/> 1 -->
    <!-- <User/> 1 -->
    <!-- <UserCenter/> 1 -->
    <router-view :key="$route.fullPath" ></router-view>
    <Footer/>
  </div>
</template>

<script>
import Header from "./components/header-components/Header.vue"
import Footer from "./components/footer-components/Footer.vue"
import Main from "./components/main-components/Main.vue"
import Detail from "./components/detail-components/detail.vue"
import Category from "./components/category-components/category.vue"
import Publisher from "./components/publisher-components/publisher.vue"
import User from "./components/user-components/user.vue"
import UserCenter from "./components/user-center-components/UserCenter.vue"

export default {
  name: 'app',
  components: {
    Header, Main, Footer, Detail, Category, Publisher, User, UserCenter
  }
}
</script>

<style>
#app {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
</style>
